<?php

return [
    // 菜单更新/删除
    'menu.updated' => [app\event\Permission::class, 'menuUpdated'],
    'menu.deleted' => [app\event\Permission::class, 'menuDeleted'],
    // 角色更新/删除
    'role.updated' => [app\event\Permission::class, 'roleUpdated'],
    'role.deleted' => [app\event\Permission::class, 'roleDeleted'],
    // 角色授权菜单
    'role.menus.granted' => [app\event\Permission::class, 'roleMenusGranted'],
    // 管理员删除与状态变更
    'admin.deleted' => [app\event\Permission::class, 'adminDeleted'],
    'admin.status.changed' => [app\event\Permission::class, 'adminStatusChanged'],
    // 管理员授权角色
    'admin.roles.granted' => [app\event\Permission::class, 'adminRolesGranted'],
];
